package com.atguigu.guli.edu.entity.vo;

import com.atguigu.guli.edu.entity.Video;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModelProperty;

import java.util.ArrayList;
import java.util.List;

public class ChapterInfoVo {
    @ApiModelProperty(value = "课程ID")
    private String courseId;

    @ApiModelProperty(value = "章节名称")
    private String title;

    @ApiModelProperty(value = "显示排序")
    private Integer sort;

    //存储章的课时集合
    @ApiModelProperty(value = "课时列表")
    @TableField(exist = false)
    private List<Video> videos = new ArrayList<>();
}
